Skip to content

Conversation

@jenting
Copy link
Contributor

@jenting jenting commented May 18, 2022

Description

The workspace integration failed related to Git operation.
https://werft.gitpod-dev.com/job/gitpod-workspace-run-integration-tests-main.4

Recently, the Git 2.35.2 or 2.36 changes the behavior on it's stricter checks the repository ownership
https://github.blog/2022-04-18-highlights-from-git-2-36/

I think once this PR #10012 be deployed to production, we no longer need to manually configure the safe.directory manually in the code.

Related Issue(s)

Fixes #

How to test

./dev/preview/install-k3s-kubeconfig.sh
cd test

TOKEN=`kubectl get secret integration-test-user -n werft -ojsonpath={.data.token} | base64 --decode`

USER_TOKEN=$TOKEN go test -v ./... -run=TestGitActions -kubeconfig=/home/gitpod/.kube/config -namespace=default -username=integration-test-user
USER_TOKEN=$TOKEN go test -v ./... -run=TestGitHubContexts -kubeconfig=/home/gitpod/.kube/config -namespace=default -username=integration-test-user

Release Notes

None

Documentation

N/A

jenting added 3 commits May 18, 2022 06:03
Run `go mod tidy` to add missing packages.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
@jenting
Copy link
Contributor Author

jenting commented May 18, 2022

/werft run

👍 started the job as gitpod-build-jenting-fix-go-test-not-working.1
(with .werft/ from main)

@jenting
Copy link
Contributor Author

jenting commented May 18, 2022

/werft run clean-slate-deployment

👍 started the job as gitpod-build-jenting-fix-go-test-not-working.2
(with .werft/ from main)

@jenting jenting closed this May 18, 2022
@jenting jenting deleted the jenting/fix-go-test-not-working branch May 18, 2022 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants